<extend name="Layout/base" />

<block name="main">
    <style>
        .list-news .news-block .news-txt{
            text-indent: 0em;
        }
    </style>
    <div class="section section-notice">
            <div class="container">
                    <div class="box box-tab">
                            <div class="box-header">
                                    <ul class="nav-tab">      
                                        <?php foreach($fundNewsType as $newsType=>$label):?>
                                        <a href="{:U('/news-'.$newsType)}"  <?php if($newsType==$type):?>class='active'<?php endif;?>>{$label}</a>
                                        <?php endforeach;?>
                                    </ul>
                            </div>
                            <div class="box-body">
                                    <div class="swiper-container_bk swiper-tab">
                                            <div class="swiper-wrapper">
                                                    <div class="swiper-slide first-child">
                                                            <div class="content-tab">
                                                                    <div class="yt_notice">
                                                                            <ul class="list-news">
                                                                                <volist name="fundNews" id="news">
                                                                                    <li>
                                                                                            <div class="news-header">
                                                                                                    <a href="{:U('/news_'.$type.'_'.$news['newsId'])}" class="news-title">
                                                                                                        <font>{$news.title}</font>
                                                                                                        <span></span>
                                                                                                    </a>
                                                                                                    <span class="after"><span class="news-source">{$news.source|default='宜投基金'}</span> | <font class="news-date">{$news.createTime}</font></span>
                                                                                            </div>
                                                                                            <div class="news-block">
                                                                                                    <p class="news-txt">
                                                                                                        {$news.description}...
                                                                                                        <a href="{:U('/news_'.$type.'_'.$news['newsId'])}">【查看详情】</a>
                                                                                                    </p>

                                                                                            </div>
                                                                                    </li>
                                                                                </volist>
                                                                            </ul>
                                                                            {$pageHtml}
                                                                    </div>
                                                            </div>	
                                                    </div>
                                            </div>
                                    </div>

                            </div>
                    </div>

            </div>
    </div>
</block>
